import { createRouter, createWebHashHistory } from 'vue-router'
// import HomeView from '@/views/HomeView.vue'  // 示例组件

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('@/views/index.vue') 
  },
  {
    path: '/applicationForm', // 报名表
    name: 'applicationForm',
    component: () => import('@/views/ApplicationForm.vue')  // 懒加载
  },
  {
    path: '/download', // 下载页面
    name: 'download',
    component: () => import('@/views/Download.vue')  
  },
  {
    path: '/privacyPolicy', // 隐私政策
    name: 'privacyPolicy',
    component: () => import('@/views/PrivacyPolicy.vue')  // 懒加载
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
